package pathfinder;

public class Log implements Comparable<Log> {
  
  public int time;
  public String text;
  
  public Log() {
    time=  0;
    text = "";
  }
  
  public Log(int time, String text) {
    this.time = time;
    this.text = text;
  }

  @Override
  public int compareTo(Log o) {
    return this.time - o.time;
  }
  
}
